package com.zy.smbms.UserMapper;

import com.zy.smbms.pojo.SmbmsBill;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface SmbmsBillMapper {

    //根据主键删除订单
    int deleteByPrimaryKey(Long id);

    //增加订单信息
    int insertSelective(SmbmsBill bill);

    //根据主键查询订单
    SmbmsBill selectByPrimaryKey(Long id);

    //更新订单信息
    int updateByPrimaryKeySelective(SmbmsBill bill);

    //查询所有数据条数
    int selectTotalCount(SmbmsBill bill);

    //根据商品名称、供应商、是否付款查询，分页
    List<SmbmsBill> selectBillList(Map<String,Object> map);


}